<?php

/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 * Description of EContests
 *
 * @author andrea
 */
class ENews_cuspo extends Entity_cuspo{
    
    public function generateObject( $fields ) {
        foreach($this as $key => $value){
            if(isset($fields[$key]))
                $this->$key = $fields[$key];
                }
        $this->id = "";
        return $this;
    } // end of member function generateObject

    
}

?>
